import httpAxios from '../utils/httpAxios'

// 获取用户信息
export const getuser = (uid: any) => {
    return httpAxios.post('/getuserinfo', { uid })
}

// 修改用户信息
export const updateuser = (data: object) => {
    return httpAxios.post('/edituser', data)
}